<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./index.css">
</head>

<body>
    <div class="box">
        <div class="img_box">
            <!-- 图片列表 -->
            <ul>
                <li class="list01 imgActive">
                    <a href=""><img src="./img/1.jpg"></a>
                </li>
                <li class="list02">
                    <a href=""><img src="./img/2.jpg"></a>
                </li>
                <li class="list03">
                    <a href=""><img src="./img/3.jpg"></a>
                </li>
                <li class="list04">
                    <a href=""><img src="./img/4.jpg"></a>
                </li>
            </ul>

            <!-- 左右按钮 -->
            <div class="l_btn">&lt;</div>
            <div class="r_btn">&gt;</div>
        </div>

        <!-- 小圆点 -->
        <div class="dot_box">
            <span class='dot_active'></span>
            <span></span>
            <span></span>
            <span></span>
        </div>
    </div>


    <script src="./index.js"></script>
    <script>
        new Carousel('.box');
    </script>
</body>

</html>